package com.slipper.system.dictionary.dao;

import java.util.List;
import java.util.Map;

import com.slipper.system.api.dictionary.bo.DictionaryBO;
/**
 * 字典信息
 * 
 * @date 2019-10-03 13:56:17
 */
public interface DictionaryDao {
    
    int insert(DictionaryBO bo);
    
    int update(DictionaryBO bo);
    
    int delete(DictionaryBO bo);

    DictionaryBO queryBy(String id);
    
    List<DictionaryBO> queryList(DictionaryBO bo);

    List<Map<String, Object>> queryDictData(String code);

    List<Map<String, Object>> queryValidDictList();

    DictionaryBO queryByCode(String code);
}
